/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package fornecedor;

/**
 *
 * @author Alberto Medeiros
 */
public class FornecedorJaCadastradoException extends Exception {
    private String strMsg = "Fornecedor Já Cadastrado";

    public FornecedorJaCadastradoException(Throwable cause) {
        super(cause);
    }

    public FornecedorJaCadastradoException(String message, Throwable cause) {
        super(message, cause);
    }

    public FornecedorJaCadastradoException(String message) {
        super(message);
    }

    public FornecedorJaCadastradoException() {
    }
    
    @Override
    public String getMessage(){
        return this.strMsg;
    }
}